<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pet</title>
</head>

<body>
<?
	if($loi != ""){
		echo "<ul>\n";
			foreach ($loi as $error){
				echo "<li>$error<li>\n"; 
			}
		echo "</ul>\n";
	}
?>
<form action="" method="post">
	Username:	<input type="text" name="username"><br />
	Password:	<input type="password" name="pass"><br />
				<input type="submit" name="ok" value="Dang Nhap">
</form>
</body>
</html>